home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000168_john.hackett@icon-is.co.uk_Mon Oct 17 14:22:04 2005.msg < prev    next >
Internet Message Format  |  2020-01-01  |  6KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail
  2. From: John Hackett <john.hackett@icon-is.co.uk>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: ftp mput /recursive problem....
  5. Date: Sun, 16 Oct 2005 23:57:07 +0100
  6. Lines: 168
  7. Message-ID: <diuls4$fj3$1$830fa795@news.demon.co.uk>
  8. References: <dip2gm$ci$1$8300dec7@news.demon.co.uk> <slrndl29i0.ldi.fdc@sesame.cc.columbia.edu> <dirqev$7j$1$830fa7a5@news.demon.co.uk> <slrndl4vo5.mfv.fdc@sesame.cc.columbia.edu>
  9. NNTP-Posting-Host: iconinfo.demon.co.uk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=ISO-8859-1; format=flowed
  12. Content-Transfer-Encoding: 7bit
  13. X-Trace: news.demon.co.uk 1129503428 15971 80.177.168.155 (16 Oct 2005 22:57:08 GMT)
  14. X-Complaints-To: abuse@demon.net
  15. NNTP-Posting-Date: Sun, 16 Oct 2005 22:57:08 +0000 (UTC)
  16. In-Reply-To: <slrndl4vo5.mfv.fdc@sesame.cc.columbia.edu>
  17. X-Accept-Language: en-us, en
  18. User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)
  19. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15411
  20.  
  21. Frank,
  22.  
  23. I tried a few more experiments.
  24.  
  25. (1) the number of files is a red herring - I tried the same thing with 
  26. another directory with only about 1800 files and it had the same problem 
  27. - a directory being misplaced and the tree getting out of sync.
  28.  
  29. (2) I used the same script between two fedora machines - same problem. 
  30. So it is not an issue with the ftp server on the LaCie disk.
  31.  
  32. Does kermit/Linux have a problem with 'unusual' filenames? Now I tend to 
  33. make sure I use lowercase and no spaces but some of the old files have 
  34. spaces and other characters - esp as some of them are from old (pre 
  35. MacOS-X) Macintoshes. Could this be tripping it up? (Although none of 
  36. these should be in the very large folder where I first saw the problem - 
  37. these are the most important files as they are business documents!).
  38.  
  39. FYI the files come from a variety of sources: Linux (Fedora2/3); PC 
  40. (WinXP); MacOSX; and some older files from Windows and pre-MacOSX.
  41.  
  42. Has anyone else seen this problem?
  43.  
  44. Frank da Cruz wrote:
  45. > On 2005-10-15, John Hackett <john.hackett@icon-is.co.uk> wrote:
  46. > : [Is this useful:
  47. > : 211-Features:
  48. > :   MDTM
  49. > :   REST STREAM
  50. > :   SIZE
  51. > : 211 End
  52. > :    Server does not support AUTH
  53. > :    Server does not support LANG
  54. > :    Server does not support MDTM
  55. > :
  56. > This means that if you want to update only those files that changed
  57. > since last time, you can't do it because the server won't tell you a
  58. > file's modification time.  Wasn't this the whole point of your project?
  59. > Can you get a better ftp server for the far end?
  60.  
  61. Well, yes. But it does seem to work - at least when running it again
  62. only a few files are transferred and as far as I can tell they are the
  63. changed ones - also using the newest version or kermit I get:
  64.  
  65. 211-Features:
  66.   MDTM
  67.   REST STREAM
  68.   SIZE
  69. 211 End
  70.    Server does not support AUTH
  71.    Server does not support LANG
  72.    Server supports MDTM
  73.    Server does not support MLST
  74.    Server does not support PBSZ
  75.    Server does not support PROT
  76.    Server supports REST
  77.    Server supports SIZE
  78.    Server does not support TVFS
  79.    Server does not support UTF8
  80.  
  81. implying that the server DOES support MDTM so perhaps v8.0.211 is
  82. mis-reporting?
  83.  
  84. > :    Server does not support MLST
  85. > :    Server does not support PBSZ
  86. > :    Server does not support PROT
  87. > :    Server supports REST
  88. > :    Server does not support SIZE
  89. > :    Server does not support TVFS
  90. > :    Server does not support UTF8 ]
  91. > :
  92.  
  93.  
  94. > So there is a number at which it begins to fail, but below which it does not
  95. > fail?  I wonder what the number is.  Maybe a power of two (perhaps plus or
  96. > minus one)?  4095, 4096, 4097, 8191, 8192, 8193?  You've already increased
  97. > Kermit's stringspace, does increasing it more make a difference?
  98.  
  99.  
  100. I doubled the stringspace and it happened again in the same place - 632
  101. files transferred OK.
  102.  
  103.  
  104. > : FROM DEBUG:
  105. > :
  106. > : HERE IS THE ERROR:
  107. > : 257 "/mirror/sarah/profile/Application Data/Skype/Real" - Directory 
  108. > : successfully created
  109. > : 257 "/mirror/sarah/profile/Application Data/Skype/Real/rnadmin" - 
  110. > : Directory successfully created
  111. > : ...
  112. > : 257 "/mirror/sarah/profile/Application Data/Skype/Real/RealPlayer" - 
  113. > : Directory successfully created
  114. > : 257 "/mirror/sarah/profile/Application Data/Skype/Real/RealPlayer/db" - 
  115. > : Directory successfully created
  116. > : 257 "/mirror/sarah/profile/Application
  117. > : ...
  118. > :
  119. > Well these are all messages from the server.  Do you have the messages 
  120. > that Kermit sent to the server at this point?  That would pin down the
  121. > culprit.
  122. > - Frank
  123.  
  124. 150 Opening BINARY mode data connection for chatmsg256.dbb
  125. 226 Transfer complete.
  126. : OK (0.016 sec, 57249 cps)
  127.   PUT profile/Application Data/Skype/sarah_hac/index2.dat (binary) (416
  128. bytes)---> PASV
  129. 227 Entering Passive Mode (192,168,10,6,8,94).
  130. ---> STOR index2.dat
  131. 150 Opening BINARY mode data connection for index2.dat
  132. 226 Transfer complete.
  133. : OK (0.016 sec, 25999 cps)
  134.  
  135. SAVED IN: /mirror/sarah/profile/Application Data/Skype/sarah_hac/
  136.  
  137. ---> CDUP
  138. 250 CDUP command successful
  139.  
  140. NOW: /mirror/sarah/profile/Application Data/Skype/
  141.  
  142. ---> CDUP
  143. 250 CDUP command successful
  144.  
  145. NOW: /mirror/sarah/profile/Application Data/
  146.  
  147. ---> CWD Real
  148. 550 Real: No such file or directory
  149. ---> MKD Real
  150.  
  151. SO SHOULD BE: /mirror/sarah/profile/Application Data/Real (which would
  152. be correct)
  153.  
  154. BUT:
  155.  
  156. 257 "/mirror/sarah/profile/Application Data/Skype/Real" - Directory
  157. successfully created
  158. CREATED DIRECTORY Real
  159. ---> CWD Real
  160. 250 CWD command successful
  161. ---> CWD rnadmin
  162. 550 rnadmin: No such file or directory
  163. ---> MKD rnadmin
  164. 257 "/mirror/sarah/profile/Application Data/Skype/Real/rnadmin" -
  165. Directory successfully created
  166. CREATED DIRECTORY rnadmin
  167. ---> CWD rnadmin
  168. 250 CWD command successful
  169.   PUT profile/Application Data/Real/rnadmin/rnsystem.dat (text) (887
  170. bytes)---> TYPE A
  171. 200 Type set to A
  172. ---> PASV
  173. 227 Entering Passive Mode (192,168,10,6,8,95).
  174. ---> STOR rnsystem.dat
  175. 150 Opening ASCII mode data connection for rnsystem.dat
  176. 226 Transfer complete.
  177. : OK (0.017 sec, 52176 cps)
  178.  
  179. THIS FILE SAVED TO: /mirror/sarah/profile/Application
  180. Data/Skype/Real/rnamin/
  181.  
  182. ---> CDUP
  183. 250 CDUP command successful
  184. ---> CWD RealPlayer
  185.  
  186. John.